package com.chpro.finance.logmanager.controller;

import javax.annotation.Resource;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.chpro.finance.logmanager.entity.ExpenditureKeepAccounts;
import com.chpro.finance.logmanager.service.ExpenditureKeepAccountsService;
import com.chpro.orm.hibernate.ControllerBaseImpl;
import com.chpro.orm.hibernate.ServiceBase;

@Controller(value="expenditureKeepAccountsController")
@RequestMapping(value="ExpenditureKeepAccounts")
public class ExpenditureKeepAccountsController extends ControllerBaseImpl<ExpenditureKeepAccounts> {
	private ExpenditureKeepAccountsService expenditureKeepAccountsService;
	@Resource(name="expenditureKeepAccountsServiceImpl")
	public void setExpenditureKeepAccountsService(
			ExpenditureKeepAccountsService expenditureKeepAccountsService) {
		this.expenditureKeepAccountsService = expenditureKeepAccountsService;
	}

	@Override
	public ServiceBase<ExpenditureKeepAccounts> getDao() {
		return expenditureKeepAccountsService;
	}

}
